package com.cnhis.cloudhealth.clinical.clidoctor.clisendadvicehistory.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.cnhis.cloudhealth.commons.Mappers.ModelVo;
import com.cnhis.cloudhealth.commons.dao.BaseDao;
import com.cnhis.cloudhealth.commons.utils.Page;
@Repository
public class SendAdviceHistoryDao extends BaseDao {
   
	public Page  herbAndOperationSendHistory(Map map,int currPage,int pageSize)throws Exception{
		return this.queryForPage("SendAdviceHistory.herbAndOperationSendHistory", map, currPage, pageSize);
	}
	public Page  hospitalHerbAndOperationSendHistory(Map map,int currPage,int pageSize)throws Exception{
		return this.queryForPage("SendAdviceHistory.hospitalHerbAndOperationSendHistory", map, currPage, pageSize);
	}
	public Page pharmacySendHistory(Map map,int currPage,int pageSize)throws Exception{
		return this.queryForPage("SendAdviceHistory.pharmacySendHistory", map, currPage, pageSize);
	}
	public Page otherAdviceSendHistory(Map map,int currPage,int pageSize)throws Exception{
		return this.queryForPage("SendAdviceHistory.otherAdviceSendHistory", map, currPage, pageSize);
	}
	
	public List sendPharmacyHistory(Map map)throws Exception{
		return queryForList("SendAdviceHistory.sendPharmacyHistory", map);
	}
	
	public List sendHistory(Map map)throws Exception{
		return queryForList("SendAdviceHistory.sendHistory", map);
	}
}
